package cn.csc.module.shop.controller.admin.hotsearch.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigInteger;
import java.util.Date;

import static cn.csc.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 热搜 Excel 导出 Request VO", description = "参数和 ShopHotSearchPageReqVO 是一致的")
@Data
public class ShopHotSearchExportReqVO {

    @ApiModelProperty(value = "店铺ID 0为全平台热搜")
    private BigInteger shopId;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "顺序")
    private Integer seq;

    @ApiModelProperty(value = "状态 0下线 1上线")
    private Byte status;

    @ApiModelProperty(value = "热搜标题")
    private String title;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

}
